package com.aisile.model.article.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Auther:yry
 * @Date:2024/1/15 0015
 * @VERSON:1.0
 */
@TableName("ap_collection")
@Data
public class ApCollection implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    @TableField("entry_id")
    private Integer entryId;

    @TableField("article_id")
    private Long articleId;

    @TableField("type")
    private Short type;

    @TableField("collection_time")
    private Date collectionTime;

    @TableField("published_time")
    private Date publishedTime;
}
